CVE-2025-27796
GraphicsMagick Palette Buffer Allocation Overflow Vulnerability
Description
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
INFO
Published Date :
March 7, 2025, 6:15 a.m.
Last Modified :
Jan. 29, 2026, 8:56 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update GraphicsMagick to version 1.3.46 or later.
- Recompile GraphicsMagick if necessary.
- Test the updated GraphicsMagick installation.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-27796.
| URL | Resource |
|---|---|
| http://www.graphicsmagick.org/NEWS.html | Release Notes |
| https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/883ebf8cae6dfa5873d975fe3476b1a188ef3f9f | Patch |
| https://sourceforge.net/p/graphicsmagick/bugs/750/ | Permissions Required |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-27796 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-27796
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-27796 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-27796 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 29, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:* versions up to (excluding) 1.3.46 Added Reference Type MITRE: http://www.graphicsmagick.org/NEWS.html Types: Release Notes Added Reference Type MITRE: https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/883ebf8cae6dfa5873d975fe3476b1a188ef3f9f Types: Patch Added Reference Type MITRE: https://sourceforge.net/p/graphicsmagick/bugs/750/ Types: Permissions Required -
CVE Modified by [email protected]
Mar. 07, 2025
Action Type Old Value New Value Changed Description WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob. ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob. -
CVE Modified by [email protected]
Mar. 07, 2025
Action Type Old Value New Value Changed Description WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation. WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob. Added Reference https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/883ebf8cae6dfa5873d975fe3476b1a188ef3f9f -
New CVE Received by [email protected]
Mar. 07, 2025
Action Type Old Value New Value Added Description WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L Added CWE CWE-908 Added Reference http://www.graphicsmagick.org/NEWS.html Added Reference https://sourceforge.net/p/graphicsmagick/bugs/750/